package com.film.dao;

import java.util.List;
import com.film.po.User;


public interface UserDao {

    long getUserRowCount();

    List<User> selectUser();
    User selectUserById(Integer id);
    
    User selectUserByUsername(String username);

    int insertUser(User value);
    int insertNonEmptyUser(User value);

    int deleteUserById(Integer id);

    int updateUserById(User value);
    int updateNonEmptyUserById(User value);

}
